wpCloud\StatelessMedia\Bootstrap D

Total Complexity 367
Dependencies 24
Dependents 1
Total lines 2,063
Lines of code 1,141
Logical lines of code 697
Comment lines 611
Methods 57
Properties 3

Methods 57

Method Rating Maintainability Complexity Lines of code
init()
C
33 27 87
wp_calculate_image_srcset()
C
40 26 52
image_downsize()
B
42 22 46
wp_get_attachment_metadata()
B
41 21 51
_prepare_data_for_metabox()
A
35 13 88
attachment_url_to_postid()
A
41 15 54
is_connected_to_gs()
A
44 16 37
_prepare_generate_link()
A
53 17 17
redirect_to_splash()
A
52 15 23
wp_get_attachment_url()
A
46 12 37
handle_root_dir()
A
47 11 32
admin_enqueue_scripts()
A
43 9 53
_init_filters()
A
47 9 32
wp_stateless_bucket_link()
A
55 10 17
add_custom_row_actions()
A
57 10 13
convert_to_gs_link()
A
54 9 18
is_network_detected()
S
59 8 14
get_gs_host()
S
57 8 14
post_metadata_filter()
S
51 7 27
get_image_sizes()
S
53 7 22
parse_feature_flags()
S
53 7 21
get_attached_file()
S
53 7 20
_convert_to_gs_link()
S
56 7 16
get_settings()
S
51 6 27
the_content_filter()
S
55 6 18
admin_init()
S
46 4 35
attachment_meta_box_callback()
S
60 5 13
send_admin_email()
S
62 5 11
init_gs_client()
S
54 4 20
wp_get_attachment_image_attributes()
S
61 5 10
__construct()
S
53 3 22
api_init()
S
46 1 49
get_client()
S
61 3 13
attachment_modal_meta_box_callback()
S
60 3 12
filter_upload_dir()
S
55 2 19
get_notification_email()
S
64 3 10
is_mode()
S
70 2 6
__call()
S
69 2 7
get_settings_page_url()
S
74 2 4
show_notice_stateless_cache_busting()
S
62 1 11
get_l10n_data()
S
75 1 4
select_wp_image_editors()
S
81 1 3
get_gs_path()
S
74 1 4
upload_dir()
S
70 1 6
get_docs_page_url()
S
75 1 4
on_switch_blog()
S
82 1 3
deactivate()
S
91 1 2
load_textdomain()
S
91 1 2
wp_delete_site()
S
81 1 3
run_upgrade_process()
S
73 1 5
run_install_process()
S
82 1 3
activate()
S
75 1 4
flush_transients()
S
81 1 3
reset()
S
81 1 3
replaceable_file_types()
S
67 1 7
views_upload()
S
74 1 4
get_default_cache_control()
S
82 1 3